package sort;

public class LinkListTest {
    public static void main(String[] args) {
        LinkList<String> list=new LinkList<String>();
        list.insert(0,"张三");
        list.insert(1,"张四");
        list.insert(2,"张五");
        list.insert(3,"张六");
        for (String s:list){
            System.out.println(s);
        }
        System.out.println(list.length());
        System.out.println(list.get(0));
        System.out.println(list.remove(1));
        System.out.println(list.length());
    }
}
